<%@page import="com.petshop.model.Product"%>

<div id="wrap">

	<%@ include file="../template/header.jsp"%>

	<div class="center_content">
		
		<!--left content-->
		<div class="left_content">
			
<!-- 				<div class="crumb_nav"> -->
<!-- 					<a href="index">home</a> &gt;&gt; category name -->
<!-- 				</div> -->
			
			<div class="title">
				<span class="title_icon"><img src="images/bullet1.gif"
					alt="" title="" /></span><%=rb.getString("home.category")%>
			</div>

			<div class="new_products">


			<%
				List<Product> list = (List<Product>) request.getAttribute("productNewLoad");
				for (int i = 0; i < news ; i++) {
					if(i < list.size()){
			%>
				<div class="new_prod_box">
					<a href="LoginServlet?page=details">product name</a>
					<div class="new_prod_bg">
						<a href="LoginServlet?page=details"><img src="images/thumb1.gif" alt=""
							title="" class="thumb" border="0" /></a>
					</div>
				</div>

			<%
					}
				}
			%>
				<div class="pagination">
					<span class="disabled"><<</span>
						<span class="current">1</span>
							<a href="LoginServlet?page=#?page=2">2</a>
							<a href="LoginServlet?page=#?page=3">3</a>
							.....
							<a href="LoginServlet?page=#?page=199">10</a>
							<a href="LoginServlet?page=#?page=200">11</a>
							<a href="LoginServlet?page=#?page=2">>></a>
				</div>

			</div>


			<div class="clear"></div>
			
		</div>
		
		<!--right content-->
		<%@ include file="../template/right_content.jsp"%>	

		<div class="clear"></div>
	</div>
	<!--end of center content-->


	<!--start of footer-->
	<%@ include file="../template/footer.jsp" %>


</div>
